home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / listings / v_13_12 / taylor2 / gpibout.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  1995-11-06  |  350 b   |  20 lines

  1. // gpibout.cpp
  2. #include <iostream.h>
  3. #include <stdlib.h>
  4. #include "gpibio.h"
  5.  
  6. // OUTPUT CLASS FUNCTIONS
  7. gpibout::gpibout(int d,int b) : gpibio(b)  // constructor
  8. {
  9.    device = dvr[b]->open_device(d);
  10. }
  11.  
  12. // gout << string
  13. gpibout & gpibout::operator <<(char _FAR *s)
  14. {
  15.     sput(s);
  16.     return (*this);
  17. }
  18.  
  19. ... //[full source included on code disk -mb]
  20.